from rest_framework.serializers import ModelSerializer
from myapp.models import Good,Ding
class GoodSer(ModelSerializer):
    class Meta:
        model = Good
        fields = '__all__'

class DingSer(ModelSerializer):
    class Meta:
        model = Ding
        fields = '__all__'
